<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>
<table cellpadding="0" cellspacing="0" width="99%" class="tabletitel" align="right">
  <tr valign="top">
    <td height="400">
      <blockquote><blockquote>
        <br>
        <br>
        <table cellpadding="0" cellspacing="0" width="70%">
          <tr height="40">
            <th>Project name</th>
            <th>Project description</th>
            <th>View Reports</th>
          </tr>
          <?php $i = 0; WHILE($row = mysql_fetch_array($result)) { ?>
          <tr class="altrow">
            <td class="style1"><div align="left"><?php echo $row["name"]; ?></div></td>
            <td class="style1"><div align="left"><?php echo $row["description"]; ?></div></td>
            <td><div align="left"><?php echo $this->Html->image("report.png", array("alt" => "Show Reports",'url' => array('controller' => 'pdf', 'action' => 'report', '?' => array('pid' => $row["id"])))); ?></div></td>
          </tr>
          <?php } ?>
        </table>
      </blockquote></blockquote>
    </td>
  </tr>
</table>